package study.cdc.canal.support.canal.dispater;

import com.alibaba.otter.canal.protocol.CanalEntry;
import lombok.Data;

@Data
public class EntryContext {

    /* 模式名 */
    private String schemaName;
    /* 表名 */
    private String tableName;
    /* 事件类型 */
    private CanalEntry.EventType eventType;

    public EntryContext(String schemaName, String tableName, CanalEntry.EventType eventType) {
        this.schemaName = schemaName;
        this.tableName = tableName;
        this.eventType = eventType;
    }
}
